# 位置传参
def fun(name, age, gender):
    print(f"{name},{age},{gender}")


fun("叶君临", 20, "男")


# 关键词参数
def fum(name="江添", age=20, gender="男"):
    print(f"{name},{age},{gender}")


fum("江添", 20, "男")


# 缺省参数默认值

def fun(name, age, gender="男"):
    print(f"{name},{age},{gender}")


fun("陈凡", 20)


# 不定长参数
def gun(*args):
    print(args)


gun("程凡", "男", 23, 45, 76)


def gum(**kwargs):
    print(kwargs)


gum(name="程凡", boundary="九转仙帝巅峰", age=20)
